/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.com.ces4.produccion.client;

import co.com.ces4.produccion.jpa.entities.Articulo;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;

/**
 *
 * @author usuario
 */
@RemoteServiceRelativePath("articuloService")
public interface ArticuloService extends RemoteService {

    void guardarArticulo(Articulo articulo) throws RuntimeException;

    void actualizarArticulo(Articulo articulo) throws RuntimeException;

    List<Articulo> getArticulos() throws RuntimeException;

    List<Articulo> getArticuloList(String codigo, String descripcion) throws RuntimeException;

    Articulo getArticuloXId(String codigo) throws RuntimeException;

    void desactivarArticulo(List<Articulo> articulos) throws RuntimeException;
}
